#pragma once

#include "eventqueue.h"

namespace Lab1
{
    class DataReader
    {
    public:
        DataReader();
        void start();
        EventQueue & getQueue();

        protected:
        void handleEvent( const std::shared_ptr < const Event > & event_ptr );

        private:
        EventQueue queue;
        bool deviceAisValid;
        bool deviceBisValid;
        bool deviceAworkDone;
        bool deviceBworkDone;
    };
}
